﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace socket客户端
{
    // Messages/ViewNotificationMessage.cs
    public class ViewNotificationMessage
    {
        public string Message { get; }
        public NotificationType Type { get; }

        public ViewNotificationMessage(string message, NotificationType type)
        {
            Message = message;
            Type = type;
        }
    }

    public enum NotificationType
    {
        Information,
        Success,
        Warning,
        Error
    }
}
